package com.project.voicememoassistant.mapper;

import com.project.voicememoassistant.model.Permanent;
import com.project.voicememoassistant.model.PermanentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PermanentMapper {
    long countByExample(PermanentExample example);

    int deleteByExample(PermanentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Permanent record);

    int insertSelective(Permanent record);

    List<Permanent> selectByExample(PermanentExample example);

    Permanent selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Permanent record, @Param("example") PermanentExample example);

    int updateByExample(@Param("record") Permanent record, @Param("example") PermanentExample example);

    int updateByPrimaryKeySelective(Permanent record);

    int updateByPrimaryKey(Permanent record);
}